/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif.transaction;

import com.keybridgeglobal.wsif.Location;
import com.keybridgeglobal.wsif.enumerated.EnumWsifResponseType;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.*;

/**
 * <p>Java class for whitespaceResponse complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class.
 * <p/>
 * <
 * pre>
 * &lt;complexType name="whitespaceResponse">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{}location"/>
 *         &lt;element name="whitespaceFrequencyList" type="{}whitespaceFrequency" maxOccurs="unbounded"/>
 *         &lt;element name="extension" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="uuid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="protocolVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
 *       &lt;attribute name="messageType" use="required" type="{}enumWsifResponseType" />
 *       &lt;attribute name="dateCreated" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="dateEffective" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="dateExpiration" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="statusIndicator" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * <p/>
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "whitespaceResponse", propOrder = {
  "location",
  "whitespaceFrequencyList",
  "extension"
})
@XmlRootElement
public class WhitespaceResponse {

  @XmlElement(required = true)
  protected Location location;
  @XmlElement(required = true)
  protected List<WhitespaceFrequency> whitespaceFrequencyList;
  protected String extension;
  @XmlAttribute(name = "uuid", required = true)
  protected String uuid;
  @XmlAttribute(name = "protocolVersion", required = true)
  protected float protocolVersion;
  @XmlAttribute(name = "messageType", required = true)
  protected EnumWsifResponseType messageType;
  @XmlAttribute(name = "dateCreated", required = true)
  @XmlSchemaType(name = "dateTime")
  protected Date dateCreated;
  @XmlAttribute(name = "dateEffective", required = true)
  @XmlSchemaType(name = "dateTime")
  protected Date dateEffective;
  @XmlAttribute(name = "dateExpiration", required = true)
  @XmlSchemaType(name = "dateTime")
  protected Date dateExpiration;
  @XmlAttribute(name = "statusIndicator", required = true)
  protected int statusIndicator;

  /**
   * Gets the value of the location property.
   * <p/>
   * @return possible object is {@link Location }
   *
   */
  public Location getLocation() {
    return location;
  }

  /**
   * Sets the value of the location property.
   * <p/>
   * @param value allowed object is {@link Location }
   *
   */
  public void setLocation(Location value) {
    this.location = value;
  }

  /**
   * Gets the value of the whitespaceFrequencyList property.
   * <p/>
   * <p> This accessor method returns a reference to the live list, not a
   * snapshot. Therefore any modification you make to the returned list will be
   * present inside the JAXB object. This is why there is not a
   * <CODE>set</CODE> method for the whitespaceFrequencyList property.
   * <p/>
   * <p> For example, to add a new item, do as follows:
   * <pre>
   *    getWhitespaceFrequencyList().add(newItem);
   * </pre>
   * <p/>
   *
   * <p> Objects of the following type(s) are allowed in the list
     * {@link WhitespaceFrequency }
   *
   *
   */
  public List<WhitespaceFrequency> getWhitespaceFrequencyList() {
    if (whitespaceFrequencyList == null) {
      whitespaceFrequencyList = new ArrayList<WhitespaceFrequency>();
    }
    return this.whitespaceFrequencyList;
  }

  /**
   * Gets the value of the extension property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getExtension() {
    return extension;
  }

  /**
   * Sets the value of the extension property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setExtension(String value) {
    this.extension = value;
  }

  /**
   * Gets the value of the uuid property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getUuid() {
    return uuid;
  }

  /**
   * Sets the value of the uuid property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setUuid(String value) {
    this.uuid = value;
  }

  /**
   * Gets the value of the protocolVersion property.
   * <p/>
   */
  public float getProtocolVersion() {
    return protocolVersion;
  }

  /**
   * Sets the value of the protocolVersion property.
   * <p/>
   */
  public void setProtocolVersion(float value) {
    this.protocolVersion = value;
  }

  /**
   * Gets the value of the messageType property.
   * <p/>
   * @return possible object is {@link EnumWsifResponseType }
   *
   */
  public EnumWsifResponseType getMessageType() {
    return messageType;
  }

  /**
   * Sets the value of the messageType property.
   * <p/>
   * @param value allowed object is {@link EnumWsifResponseType }
   *
   */
  public void setMessageType(EnumWsifResponseType value) {
    this.messageType = value;
  }

  /**
   * Gets the value of the dateCreated property.
   * <p/>
   * @return possible object is {@link Date }
   *
   */
  public Date getDateCreated() {
    return dateCreated;
  }

  /**
   * Sets the value of the dateCreated property.
   * <p/>
   * @param value allowed object is {@link Date }
   *
   */
  public void setDateCreated(Date value) {
    this.dateCreated = value;
  }

  /**
   * Gets the value of the dateEffective property.
   * <p/>
   * @return possible object is {@link Date }
   *
   */
  public Date getDateEffective() {
    return dateEffective;
  }

  /**
   * Sets the value of the dateEffective property.
   * <p/>
   * @param value allowed object is {@link Date }
   *
   */
  public void setDateEffective(Date value) {
    this.dateEffective = value;
  }

  /**
   * Gets the value of the dateExpiration property.
   * <p/>
   * @return possible object is {@link Date }
   *
   */
  public Date getDateExpiration() {
    return dateExpiration;
  }

  /**
   * Sets the value of the dateExpiration property.
   * <p/>
   * @param value allowed object is {@link Date }
   *
   */
  public void setDateExpiration(Date value) {
    this.dateExpiration = value;
  }

  /**
   * Gets the value of the statusIndicator property.
   * <p/>
   */
  public int getStatusIndicator() {
    return statusIndicator;
  }

  /**
   * Sets the value of the statusIndicator property.
   * <p/>
   */
  public void setStatusIndicator(int value) {
    this.statusIndicator = value;
  }
}
